@primarColor: #f54949!important;
@assistColor: #fff000;
@bgColor: #222222!important;

a{
	cursor: pointer;
}

h1{
	color: @primarColor;
}

i{
	margin-right: 8px;
	font-size: 16px !important;
}
[v-cloak]{
    display: none;
}

// 公共部分

.layui-header{
	.layui-nav-bar{
		background-color: @primarColor;
	}
	.layui-this{
		a{
			background-color: @primarColor;
			&:hover{
				color: white!important;
			}
		}
		&::after{
			display: none;
		}
	}
	dd a:hover{
		color: @primarColor;
	}
}

// 侧边导航
.layui-bg-black{
	background-color: @bgColor;
	.layui-nav{
		background-color: @bgColor;
		.layui-this{
			background-color: transparent!important;
			a,a:hover{
				background-color: @primarColor;
			}
		}
		.layui-nav-bar{
			background-color: @primarColor;
		}
		.layui-nav-child i{
			margin-left: 10px;
		}
	}
}

.layui-layer-btn .layui-layer-btn0{
	background-color: @primarColor;
	border: none;
}

// 公共部分结束

// 基本资料
.layui-elem-field{
	margin: 15px;
	padding: 20px;
	
	.layui-card-header{
		margin-bottom: 10px;
		height: 30px;
		border-left: solid 3px @primarColor;
		border-bottom: none;
		line-height: 30px;
	}
	
	.pic{
		text-align: center;
		cursor: pointer;
		img{
			width: 80%;
		}
	}
	
	
	
	
	.information{
		margin-top: 20px;
		font-size: 16px;
		.layui-card{
			margin-bottom: 1px;
			padding: 15px;
			box-shadow: 1px 1px 2px 0 #f4f4f4;
			input{
				display: inline-block;
				width: 70%;
				background-color: transparent;
				border: none;
			}
			input[type='radio'],input[type='checkbox']{
				display: none;
				width: 20px;
				margin-left: 20px;
			}
			label{
				display: none;
			}
			
		}
		button.layui-btn-primary{
			margin-top: 20px;
			&:hover{
				border-color: @primarColor;
			}
		}
		button.modify{
			display: none;
			margin: 20px 0 0;
			background-color: @primarColor;
			&:hover{
				opacity: 1;
			}
		}
	}
}



// 重置密码
div[id ^= 'layui-layer']{
	.layui-layer-content form{
		width: 80%;
		margin: 20px auto;
	}
	button{
		float: right;
		background-color: @primarColor;
	}
}
// 更换头像
.modal-content{
		h5{
			width: 50%;
			height: 50%;
			margin: 10px 50px;
			img{
				width: 100%;
			}
			.cropper-move{
				transform: rotate(180deg);
			}
			span{
				left: 0;
				top: 0;
				right: 0%;
				&.cropper-point,&.cropper-line{
					display: none;
					visibility: hidden;
				}
				// transform: none !important;
			}
		}
		
		span.preview{
			position: absolute;
			right: 20%;
			top: 20%;				
			text-align: center;
		i{					
			display: block;
			margin: 0 0 20px;
			width: 80px;
			height: 80px;
			border-radius: 50%;
			overflow: hidden;
			}
		}
		p{
			position: absolute;
			right: 5%;
			bottom: 10%;
		}
		input{
			visibility: hidden;
		}
		button.layui-btn-primary{
			border-color: #f5a5a3!important;
			color: #f5a5a3!important;
		}
		button.upload{
			margin: 0 10px;
			background-color: @primarColor;
	}
}

// 所有订单
.order{
	// width: 80%;
	td{
		text-overflow: hidden;
		white-space:nowrap;
		overflow:hidden;
	}
	td:nth-of-type(3) p{
		width: 100px;
	}
	td:last-child{
		text-align: center;
	}
	button{
		font-size: 14px !important;
		height: 25px !important;
		line-height: 25px !important;
		padding: 0 10px !important;
		&.layui-btn-primary:hover{
			border-color: @primarColor;
		}
		&.layui-btn-danger{
			background-color: @primarColor;
		}
	}
}